MIDIInGetDeviceName
(Function)
Purpose: Returns the name of a MIDI-In device.
Syntax: StringVar = CtlName.MIDIInGetDeviceName(DeviceNumber As Integer)
Arguments: DeviceNumber is an integer holding the device which name to get.
Example:
'Fill a ComboBox with MIDI-In devices
Dim
intTemp
As
Integer
For
intTemp
=
0
To
SoundCard1.MIDIInNumOfDevices
____Combo1.AddItem
SoundCard1.MIDIInGetDeviceName (intTemp)
Next intTemp
Comments: Returns a zerostring ("") if DeviceNumber is out of range.
See Also:
MIDIInNumOfDevices
MIDIOutNumOfDevices
MIDIOutGetDeviceName